package com.torry.edss.domain.accessor;

import com.torry.edss.domain.model.LimitDown;
import com.torry.edss.domain.model.LimitUp;
import com.torry.edss.infras.entity.LimitDownDO;
import com.torry.boot.starter.mybatisplus.service.IAccessor;

import java.util.List;

/**
 * <p>
 *  访问类
 * </p>
 *
 * @author torry.wang
 * @since 2025-05-09
 */
public interface LimitDownAccessor extends IAccessor<LimitDown,LimitDownDO> {
    int countByDate(String date);

    int countByDateAndCompanyId(String date, Long companyId);

    List<LimitDown> findByDate(String date);
}
